import Extension from '@/views/Extension'
import edit from '@/views/Extension/Extension/edit'
import elink from '@/views/Extension/Extension/elink'
import group from '@/views/Extension/Extension/group'
import intelligence from '@/views/Extension/Extension/intelligence'
import pushRedact from '@/views/Extension/Extension/pushRedact'
import Promotion from '@/views/Extension/Extension/Promotion'
import addtasks from '@/views/Extension/Extension/addtasks'
import newimgtext from '@/views/Extension/Extension/newimgtext'
import orderdetails from '@/views/Extension/Extension/orderdetails'
export default [{
  //推广
  path: 'Extension',
  // name: 'Extension',
  component: Extension,
  redirect: 'Extension/elink',
  children: [{
      //   推广链接
      path: 'elink',
      name: 'elink',
      component: elink,
    }, {
      //订单详情
      path: 'orderdetails',
      name: 'orderdetails',
      component: orderdetails
    },
    {
      //   群发推广
      path: 'group',
      name: 'group',
      component: group
    }, 
    
    {
      //   智能推送
      path: 'intelligence',
      name: 'intelligence',
      component: intelligence
    },
    
    {
      //   智能推送编辑
      path: 'pushRedact',
      // name: 'pushRedact',
      component: pushRedact
    },

    {
      //   促销活动
      path: 'Promotion',
      name: 'Promotion',
      component: Promotion
    },
   
    {
      //添加任务
      path: 'addtasks',
      name: 'addtasks',
      component: addtasks
    }, {
      //添加任务
      path: 'newimgtext',
      name: 'newimgtext',
      component: newimgtext
    },
    {
      //   促销
      path: 'edit',
      name: 'edit',
      component: edit
    }
  ]
}]
